POST
/
public
/
request-dsa-code-execution
curl --request POST \
  --url https://backend.codedamn.com/api/public/request-dsa-code-execution \
  --header 'Content-Type: application/json' \
  --header 'FERMION-API-KEY: <api-key>' \
  --data '{
  "data": [
    {
      "data": {
        "language": "C",
        "runConfig": {
          "customMatcherToUseForExpectedOutput": "ExactMatch",
          "expectedOutputAsBase64UrlEncoded": "<string>",
          "stdinStringAsBase64UrlEncoded": "<string>",
          "callbackUrlOnExecutionCompletion": "<string>",
          "shouldEnablePerProcessAndThreadCpuTimeLimit": false,
          "shouldEnablePerProcessAndThreadMemoryLimit": false,
          "shouldAllowInternetAccess": false,
          "compilerFlagString": "",
          "maxFileSizeInKilobytesFilesCreatedOrModified": 1024,
          "stackSizeLimitInKilobytes": 65536,
          "cpuTimeLimitInMilliseconds": 2000,
          "wallTimeLimitInMilliseconds": 5000,
          "memoryLimitInKilobyte": 131072,
          "maxProcessesAndOrThreads": 60
        },
        "sourceCodeAsBase64UrlEncoded": "<string>",
        "additionalFilesAsZip": {
          "type": "base64url-encoding",
          "base64UrlEncodedZip": "<string>"
        }
      }
    }
  ]
}'
[
  {
    "output": {
      "status": "ok",
      "data": {
        "taskId": "<string>"
      }
    }
  }
]

Authorizations

FERMION-API-KEY
string
header
required

Body

application/json

API Request Body

The body is of type object.

Response

200 - application/json

API Response Body

The response is of type object[].